<template>
  <div class="config-param pdb50">
    <!-- 可见级别 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title pdt10">可见级别</p>
      <div class="col-1 attr-item-edit-input">
        <el-slider
          show-input
          :min="0"
          :max="20"
          input-size="mini"
          :step="1"
        ></el-slider>
        <div class="attr-item-edit-input-des">默认范围（0-20）</div>
      </div>
    </div>
    <!-- 动画效果 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title pdt10">动画效果</p>
      <div class="col-1 attr-item-edit-input">
        <el-select
          style="width: 100%;"
          placeholder="请选择"
          size="mini"
        >
          <el-option
            v-for="item in animateOptions"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
    </div>
    <!-- 气泡大小 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title pdt10">气泡大小</p>
      <div class="col-1 attr-item-edit-input">
        <el-slider
          show-input
          :min="1"
          :max="100"
          input-size="mini"
          :step="1"
        ></el-slider>
        <div class="attr-item-edit-input-des">范围（1-100）</div>
      </div>
    </div>
    <!-- 呼吸范围 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title pdt10">呼吸范围</p>
      <div class="col-1 attr-item-edit-input">
        <el-slider
          show-input
          :min="0"
          :max="20"
          input-size="mini"
          :step="1"
        ></el-slider>
        <div class="attr-item-edit-input-des">范围（0-20）</div>
      </div>
    </div>
    <!-- 透明度 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title pdt10">透明度</p>
      <div class="col-1 attr-item-edit-input">
        <el-slider
          show-input
          :min="0"
          :max="1"
          input-size="mini"
          :step="0.1"
        ></el-slider>
        <div class="attr-item-edit-input-des">范围（0-1）</div>
      </div>
    </div>
    <!-- 动效速度 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title pdt10">动效速度</p>
      <div class="col-1 attr-item-edit-input">
        <el-slider
          show-input
          :min="0"
          :max="1"
          input-size="mini"
          :step="0.1"
        ></el-slider>
        <div class="attr-item-edit-input-des">范围（0-1）</div>
      </div>
    </div>
    <!-- 颜色 -->
    <div class="attr-item-edit-wrapper">
      <p class="attr-item-title">颜色</p>
      <div class="col-1 attr-item-edit-input selectColor">
        <el-input
          size="mini"
          placeholder=""
        >
        </el-input>
        <el-color-picker
          size="mini"
          :show-alpha="true"
        >
        </el-color-picker>
      </div>
    </div>
  </div>
</template>

<script>
import WordStyle from "../../word-style";
export default {
  components: {
    WordStyle,
  },
  props: {},
  data() {
    return {
      num: "",
      animateOptions: [
        {
          value: "breath",
          label: "呼吸动效",
        }
      ]
    };
  },
};
</script>

<style lang="scss" scoped>
.pdt10 {
  padding-top: 10px;
}
.pdb50 {
  padding-bottom: 50px;
}
.tc {
  text-align: left;
}
.vts {
  vertical-align: super;
}
.line {
  border-top: 2px solid #ccc;
  margin: 10px 0;
}
.config-param {
  .setting-title {
    margin-bottom: 10px;
    .title {
      font-size: 14px;
      font-weight: bold;
    }
  }
  .attr-item-edit-wrapper {
    display: flex;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    padding-left: 0;
    .attr-item-title {
      display: inline-block;
      text-align: left;
      min-width: 75px;
      font-size: 12px;
    }
    .attr-item-edit-input {
      &.col-2 {
        width: 90px;
        margin-left: 10px;
      }
      &.col-1 {
        width: 250px;
      }
      &.col-3 {
        width: 60px;
        margin-left: 10px;
      }
      &.col-4 {
        width: 50px;
        margin-left: 10px;
      }
      .attr-item-edit-input-des {
        text-align: left;
        line-height: 1;
        padding-top: 5px;
        margin-top: 2px;
        font-size: 12px;
        color: $gray;
      }
    }
  }
}
</style>
<style lang="scss">
.attr-item-edit-wrapper {
  .el-input-number.is-controls-right .el-input__inner {
    padding-left: 2px;
    padding-right: 32px;
    width: 90px;
  }
  .el-input-number--mini {
    width: 90px;
  }
  .el-slider__runway.show-input {
    margin-right: 108px;
  }
}
</style>